package org.jsbd.boss.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.jsbd.boss.dao.IAppActionDAO;
import org.jsbd.boss.domian.statistics.AppAction;
import org.jsbd.boss.domian.statistics.SDKRate;
import org.jsbd.boss.service.IAppActionService;
import org.springframework.stereotype.Service;

@Service("appActionService")
public class AppActionServiceImpl implements IAppActionService {
	
	@Resource
	private IAppActionDAO appActionDao;

	@Override
	public List<String> getXaxis(String startTime, String mark) {
		return appActionDao.selectXaxis(startTime, mark);
	}

	@Override
	public List<AppAction> getYaxis(String startTime, String mark) {
		return appActionDao.selectYaxis(startTime, mark);
	}

	@Override
	public String getOneMark(String startTime) {
		return appActionDao.selectOneMark(startTime);
	}

}
